﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using DatePicker.Infrastructure;

namespace FamilyJobsUI.Models
{
    public class UsersEditModel
    {

        public UsersEditModel()
        {
        }

        [DataType(DataType.Date)]
        [DateRange(Min = "1/1/1950", Max = "6/1/2014")]
        [Display(Name = "Birthday", Description = "Birthday")]
        public  System.DateTime user_Birthday {  get; set; }

        public int user_ID { get; set; }

        [Display(Name = "Name", Description = "User Name")]
        public string user_Name {get; set; }

        [Display(Name = "Email", Description = "Email Address")]
        public string user_Email {get; set;}

        [Display(Name = "Admin", Description = "Administrator")]
        public bool user_Admin { get; set; }
    }
}